var o = {
    name: 'terry',
    age: 12,
    sayName: function() {
        console.log(this.name)
    }
}

console.log(o.name)

console.log(o['age'])

delete o.name

console.log(o, '删除之后的o')

o.gender = '男'

console.log(o, '添加之后的o')

var o1 = new Object()

o1.name = 'tom'

o1.age = 13

console.log(o1, '--构造函数创建出来的对象--')

console.log(o1.toString())

console.log('gender' in o1)

console.log(JSON.stringify(o1))

var qs = require('querystring')

console.log(qs.stringify(o1))